home *** CD-ROM | disk | FTP | other *** search
- class com.mosesSupposes.fuse.components.Zigo_Engine extends MovieClip
- {
- var extend_MovieClip;
- var extend_TextField;
- var add_easy_globals;
- var hide_on_publish;
- var url_btn;
- var trace_version;
- function Zigo_Engine()
- {
- super();
- com.mosesSupposes.fuse.ZigoEngine.tweenHolder = this;
- if(this.extend_MovieClip == true)
- {
- com.mosesSupposes.fuse.ZigoEngine.initialize(MovieClip.prototype);
- }
- if(this.extend_TextField == true)
- {
- com.mosesSupposes.fuse.ZigoEngine.initialize(TextField.prototype);
- }
- else if(this.extend_MovieClip == false)
- {
- com.mosesSupposes.fuse.ZigoEngine.initialize();
- }
- if(this.add_easy_globals == true)
- {
- _global.ZigoEngine = com.mosesSupposes.fuse.ZigoEngine;
- }
- this.gotoAndStop(2);
- if(this.hide_on_publish == true)
- {
- this._visible = false;
- }
- else
- {
- this.url_btn.onPress = function()
- {
- this._parent.getURL("http://www.mosessupposes.com/Fuse","_blank");
- };
- }
- if(this.trace_version == true)
- {
- this.traceVersion();
- }
- }
- function traceVersion()
- {
- trace("Running Zigo Engine version " + com.mosesSupposes.fuse.ZigoEngine.VERSION);
- }
- }
-